$OpenBSD: patch-sysdep_unix_random_c,v 1.1 2014/07/09 23:14:21 sthen Exp $
--- sysdep/unix/random.c.orig	Thu Jul 10 00:02:44 2014
+++ sysdep/unix/random.c	Thu Jul 10 00:03:33 2014
@@ -13,9 +13,5 @@
 u32
 random_u32(void)
 {
-  long int rand_low, rand_high;
-
-  rand_low = random();
-  rand_high = random();
-  return (rand_low & 0xffff) | ((rand_high & 0xffff) << 16);
+  return arc4random();
 }
